﻿namespace MDXStudio
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using WeifenLuo.WinFormsUI.Docking;

    public class CoordinatesWindow : DockContent
    {
        private ColumnHeader columnHeader1;
        private ColumnHeader columnHeader2;
        private IContainer components;
        private ColumnHeader Hierarchy;
        private Label labelAxesCoord;
        private Label labelSlicerCoord;
        private ListView listAxesContext;
        private ListView listWhereContext;
        private ColumnHeader Member;
        private TableLayoutPanel tableLayoutPanel1;

        public CoordinatesWindow()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(CoordinatesWindow));
            this.tableLayoutPanel1 = new TableLayoutPanel();
            this.labelAxesCoord = new Label();
            this.labelSlicerCoord = new Label();
            this.listAxesContext = new ListView();
            this.Hierarchy = new ColumnHeader();
            this.Member = new ColumnHeader();
            this.listWhereContext = new ListView();
            this.columnHeader1 = new ColumnHeader();
            this.columnHeader2 = new ColumnHeader();
            this.tableLayoutPanel1.SuspendLayout();
            base.SuspendLayout();
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
            this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
            this.tableLayoutPanel1.Controls.Add(this.labelAxesCoord, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.listAxesContext, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.listWhereContext, 1, 1);
            this.tableLayoutPanel1.Controls.Add(this.labelSlicerCoord, 1, 0);
            this.tableLayoutPanel1.Dock = DockStyle.Fill;
            this.tableLayoutPanel1.Location = new Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 3;
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle());
            this.tableLayoutPanel1.Size = new Size(0x1ac, 230);
            this.tableLayoutPanel1.TabIndex = 1;
            this.labelAxesCoord.AutoSize = true;
            this.labelAxesCoord.Dock = DockStyle.Fill;
            this.labelAxesCoord.Location = new Point(3, 0);
            this.labelAxesCoord.Name = "labelAxesCoord";
            this.labelAxesCoord.Size = new Size(0xf2, 13);
            this.labelAxesCoord.TabIndex = 1;
            this.labelAxesCoord.Text = "Axes coordinates";
            this.labelSlicerCoord.AutoSize = true;
            this.labelSlicerCoord.Dock = DockStyle.Fill;
            this.labelSlicerCoord.Location = new Point(0xfb, 0);
            this.labelSlicerCoord.Name = "labelSlicerCoord";
            this.labelSlicerCoord.Size = new Size(0xae, 13);
            this.labelSlicerCoord.TabIndex = 0;
            this.labelSlicerCoord.Text = "Slicer coordinates";
            this.listAxesContext.Columns.AddRange(new ColumnHeader[] { this.Hierarchy, this.Member });
            this.listAxesContext.Dock = DockStyle.Fill;
            this.listAxesContext.FullRowSelect = true;
            this.listAxesContext.GridLines = true;
            this.listAxesContext.HeaderStyle = ColumnHeaderStyle.Nonclickable;
            this.listAxesContext.LabelWrap = false;
            this.listAxesContext.Location = new Point(3, 0x10);
            this.listAxesContext.Name = "listAxesContext";
            this.listAxesContext.Size = new Size(0xf2, 0xd3);
            this.listAxesContext.TabIndex = 5;
            this.listAxesContext.UseCompatibleStateImageBehavior = false;
            this.listAxesContext.View = View.Details;
            this.Hierarchy.Text = "Hierarchy";
            this.Hierarchy.Width = 0x48;
            this.Member.Text = "Member";
            this.Member.Width = 0x5f;
            this.listWhereContext.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2 });
            this.listWhereContext.Dock = DockStyle.Fill;
            this.listWhereContext.FullRowSelect = true;
            this.listWhereContext.GridLines = true;
            this.listWhereContext.HeaderStyle = ColumnHeaderStyle.Nonclickable;
            this.listWhereContext.LabelWrap = false;
            this.listWhereContext.Location = new Point(0xfb, 0x10);
            this.listWhereContext.Name = "listWhereContext";
            this.listWhereContext.Size = new Size(0xae, 0xd3);
            this.listWhereContext.TabIndex = 6;
            this.listWhereContext.UseCompatibleStateImageBehavior = false;
            this.listWhereContext.View = View.Details;
            this.columnHeader1.Text = "Hierarchy";
            this.columnHeader1.Width = 0x4a;
            this.columnHeader2.Text = "Member";
            this.columnHeader2.Width = 0x5f;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x1ac, 230);
            base.Controls.Add(this.tableLayoutPanel1);
            base.HideOnClose = true;
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.Name = "CoordinatesWindow";
            base.TabText = "Coordinates";
            this.Text = "Coordinates";
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            base.ResumeLayout(false);
        }

        internal ListView ListAxes
        {
            get
            {
                return this.listAxesContext;
            }
        }

        internal ListView ListWhere
        {
            get
            {
                return this.listWhereContext;
            }
        }
    }
}

